import React from 'react'
import Backlog from "./component/Backlog/Backlog";

import "./Home.less"
import CommonFunction from "./component/CommonFunction/CommonFunction";
import Notice from "./component/Notice/Notice";
import ProjectStatus from "./project-status/ProjectStatus";
import OtherCommon from "./other-common/OtherCommon";



export default class Home extends React.Component {

  render() {
    return (
      <div className="home-container flex">
        <div className="home-content">
        <div className="home-floor-1 flex-box">
          {/*<div className="home-floor-1-left flex-box ">*/}
            <Backlog
              numb={20}
              onHandleHClick={()=>{
                alert("点击了办理")
              }}
              onItemClick={()=>alert("点击了1")}
            />
            <CommonFunction
              onItemClick={(select)=>alert(select.toString())}
              />
          {/*</div>*/}
          {/*<div className="home-floor-1-right flex-box">*/}
            <Notice
              onMorePress={()=>alert("点击更多")}
              onItemClick={(item)=>alert(item.toString())}
            />
          {/*</div>*/}

        </div>
        <div className="home-floor-2">
          <ProjectStatus
            onMorePress={()=>alert("点击更多")}
            onPrintClick={()=>alert("点击了打印")}
          />
        </div>
        <div className="home-floor-3 ">
          <OtherCommon/>
        </div>
        </div>
      </div>
    )
  }
}
